# Contributor: Eloi Torrents <eloitor@disroot.org>
# Maintainer: Eloi Torrents <eloitor@disroot.org>
pkgname=hunspell-ca-es
pkgver=3.0.7
pkgrel=0
pkgdesc="Catalan (Spain) hunspell dictionaries"
url="https://www.softcatala.org/projectes/corrector-ortografic/"
arch="noarch"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
makedepends="unzip"
options="!check" # no tests available
source="https://github.com/Softcatala/catalan-dict-tools/releases/download/v$pkgver/ca.$pkgver-hunspell.zip"
builddir="$srcdir/"

package() {
	install -d "$pkgdir"/usr/share/hunspell
	install -m644 catalan.aff "$pkgdir"/usr/share/hunspell/ca_ES.aff
	install -m644 catalan.dic "$pkgdir"/usr/share/hunspell/ca_ES.dic
}
sha512sums="
6c6eabd4547d625f11ec014c0290f25bd2c30d3f810e475c12e417a29cdf07e2c4b59233d990b9d0e7462547094a1ed3754ab274bfe05bef37b124b49d828c02  ca.3.0.7-hunspell.zip
"
